package cn.btks.resultintegration.feign.FeignFallBack;

import cn.btks.commonserver.result.ResultState;
import cn.btks.resultintegration.feign.FeignClient.BackManageClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @Author lijun
 * @Date 2021/2/4 14:26
 */
@Slf4j
@Component
public class BackManageFallBack implements BackManageClient {

    @Override
    public ResultState findAllCity() {
        log.error("zuul调用back-manage接口查询区划所有师失败。");
        return null;
    }

    @Override
    public ResultState findAllByDivision() {
        log.error("zuul调用back-manage接口根据用户确定是师还是兵团来获取区划信息失败。");
        return null;
    }

    @Override
    public ResultState findById(Long id) {
        log.error("zuul调用back-manage接口根据ID查询区划师失败。");
        return null;
    }

    @Override
    public ResultState findAllByCityId(Long cityId) {
        log.error("zuul调用back-manage接口根据师ID查询所有团场失败。");
        return null;
    }

    @Override
    public ResultState findByCityName(String cityName) {
        log.error("zuul调用back-manage接口根据师名称查询师信息失败。");
        return null;
    }

    @Override
    public ResultState findAllByEscrowId(Long cityId) {
        log.error("zuul调用back-manage接口根据师ID查询师代管团场信息失败。");
        return null;
    }
}
